package org.jeecg.modules.tz.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: tz_network
 * @Author: jeecg-boot
 * @Date:   2024-08-26
 * @Version: V1.0
 */
@Data
@TableName("tz_network")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="tz_network对象", description="tz_network")
public class TzNetwork implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**主机名称*/
	@Excel(name = "主机名称", width = 15)
    @ApiModelProperty(value = "主机名称")
    private String tzName;
	/**主机IP*/
	@Excel(name = "主机IP", width = 15)
    @ApiModelProperty(value = "主机IP")
    private String tzIp;
	/**主机描述*/
	@Excel(name = "主机描述", width = 15)
    @ApiModelProperty(value = "主机描述")
    private String description;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
	private Integer status;

    private String freq;
    private String myPort;
    private String servIp;
    private String servPort;
    private String servCnt;



    @TableField(exist = false)
	List<TzNetworkItem> TzNetworkItems;
}
